/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * GerenteRegistrarCliente.java
 *
 * Created on 25/05/2011, 07:16:51 AM
 */

package GUI;

import Interfaz.InterfazControl;
import Motor.ClaseUtilitaria;
import Motor.Empleado;
import javax.swing.ImageIcon;

/**
 *
 * @author Vane
 */
public class GerenteRegistrarCliente extends javax.swing.JFrame {

    /** Creates new form GerenteRegistrarCliente */
	private InterfazControl laInterfaz;
	private Empleado empleado1;
    public GerenteRegistrarCliente(InterfazControl laInterfaz, Empleado empleado) {
		this.laInterfaz=laInterfaz;
        initComponents();
		empleado1 = empleado;
		this.setLocationRelativeTo(null); // Cambiar icono de java en ventana
        this.setIconImage(new ImageIcon("src/imagenes/marketplus2.png").getImage());
		jTFecha.setText(ClaseUtilitaria.tenerFechaActual());

    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jTFecha = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jTEncargado = new javax.swing.JTextField();
        jTEmpresa = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        jTCIPasaporteRif = new javax.swing.JTextField();
        jBBuscar = new javax.swing.JButton();
        jLabel10 = new javax.swing.JLabel();
        jCAutorizarTarjeta = new javax.swing.JComboBox();
        jBBuscar1 = new javax.swing.JButton();
        jLabel12 = new javax.swing.JLabel();
        jTRif1 = new javax.swing.JTextField();
        jLabel13 = new javax.swing.JLabel();
        jBBuscar2 = new javax.swing.JButton();
        jTCi = new javax.swing.JTextField();
        jLabel14 = new javax.swing.JLabel();
        jTTelefono = new javax.swing.JTextField();
        jLabel15 = new javax.swing.JLabel();
        jTFax = new javax.swing.JTextField();
        jBGenerarPasswordJuridico = new javax.swing.JButton();
        jTGenerarCodigoJuridico = new javax.swing.JTextField();
        jBActualizarRegistroJuridico = new javax.swing.JButton();
        jBEliminarClienteJuridico = new javax.swing.JButton();
        jSeparator1 = new javax.swing.JSeparator();
        jLabel16 = new javax.swing.JLabel();
        jTProfesion = new javax.swing.JTextField();
        jSeparator2 = new javax.swing.JSeparator();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        jTNombreEmpresa = new javax.swing.JTextField();
        jLabel19 = new javax.swing.JLabel();
        jTCargo = new javax.swing.JTextField();
        jTDireccion = new javax.swing.JTextField();
        jLabel20 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        jTTelefonos2 = new javax.swing.JTextField();
        jTTelefonoReferencias = new javax.swing.JTextField();
        jLabel22 = new javax.swing.JLabel();
        jSeparator3 = new javax.swing.JSeparator();
        jBProcesarAfilicacion = new javax.swing.JButton();
        jLabel23 = new javax.swing.JLabel();
        jLabel24 = new javax.swing.JLabel();
        jTEmail = new javax.swing.JTextField();
        jTNombre = new javax.swing.JTextField();
        jLabel25 = new javax.swing.JLabel();
        jTApellido = new javax.swing.JTextField();
        jLabel26 = new javax.swing.JLabel();
        jLabel27 = new javax.swing.JLabel();
        jRMasculino = new javax.swing.JRadioButton();
        jRFemenino = new javax.swing.JRadioButton();
        jSeparator4 = new javax.swing.JSeparator();
        jBRegresar = new javax.swing.JButton();
        jBSalri = new javax.swing.JButton();
        jLabel28 = new javax.swing.JLabel();
        jLabel29 = new javax.swing.JLabel();
        jTClave = new javax.swing.JTextField();
        jLabel30 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTextArea1 = new javax.swing.JTextArea();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setMinimumSize(new java.awt.Dimension(790, 750));
        setResizable(false);
        getContentPane().setLayout(null);

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/marketplus.png"))); // NOI18N
        getContentPane().add(jLabel1);
        jLabel1.setBounds(20, 20, 100, 80);

        jLabel2.setFont(new java.awt.Font("Tempus Sans ITC", 3, 14));
        jLabel2.setText("Registros de Clientes Jurídico & Autorización de Afiliados");
        getContentPane().add(jLabel2);
        jLabel2.setBounds(190, 50, 440, 19);

        jLabel3.setFont(new java.awt.Font("Tahoma", 1, 12));
        jLabel3.setText("Clientes Afiliados:");
        getContentPane().add(jLabel3);
        jLabel3.setBounds(430, 120, 120, 15);

        jLabel4.setFont(new java.awt.Font("Tahoma", 1, 12));
        jLabel4.setText("Clientes Jurídicos:");
        getContentPane().add(jLabel4);
        jLabel4.setBounds(20, 120, 120, 15);

        jLabel5.setText("Fecha:");
        getContentPane().add(jLabel5);
        jLabel5.setBounds(600, 80, 60, 20);

        jTFecha.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTFechaActionPerformed(evt);
            }
        });
        getContentPane().add(jTFecha);
        jTFecha.setBounds(660, 80, 110, 20);

        jLabel6.setText("RIF:");
        getContentPane().add(jLabel6);
        jLabel6.setBounds(30, 190, 80, 20);

        jLabel11.setFont(new java.awt.Font("Tahoma", 1, 10));
        jLabel11.setText("RIF: J-122231245          Desarrollado por: Group Delivery");
        getContentPane().add(jLabel11);
        jLabel11.setBounds(260, 700, 320, 20);

        jLabel7.setText("Empresa:");
        getContentPane().add(jLabel7);
        jLabel7.setBounds(30, 160, 70, 14);

        jLabel8.setText("Dirección:");
        getContentPane().add(jLabel8);
        jLabel8.setBounds(30, 290, 80, 14);

        jTEncargado.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTEncargadoKeyTyped(evt);
            }
        });
        getContentPane().add(jTEncargado);
        jTEncargado.setBounds(130, 220, 160, 20);

        jTEmpresa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTEmpresaActionPerformed(evt);
            }
        });
        getContentPane().add(jTEmpresa);
        jTEmpresa.setBounds(130, 160, 240, 20);

        jLabel9.setText("Numero de identificación (C.I /  Pasaporte / Rif): ");
        getContentPane().add(jLabel9);
        jLabel9.setBounds(430, 160, 270, 20);

        jTCIPasaporteRif.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTCIPasaporteRifKeyTyped(evt);
            }
        });
        getContentPane().add(jTCIPasaporteRif);
        jTCIPasaporteRif.setBounds(430, 180, 260, 20);

        jBBuscar.setText("Buscar");
        getContentPane().add(jBBuscar);
        jBBuscar.setBounds(290, 190, 80, 23);

        jLabel10.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel10.setText("Autorizar Afiliacion:");
        getContentPane().add(jLabel10);
        jLabel10.setBounds(420, 620, 140, 30);

        jCAutorizarTarjeta.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "SI", "NO" }));
        getContentPane().add(jCAutorizarTarjeta);
        jCAutorizarTarjeta.setBounds(540, 620, 50, 30);

        jBBuscar1.setText("Buscar");
        getContentPane().add(jBBuscar1);
        jBBuscar1.setBounds(700, 180, 80, 23);

        jLabel12.setText("Encargado:");
        getContentPane().add(jLabel12);
        jLabel12.setBounds(30, 220, 110, 20);

        jTRif1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTRif1KeyTyped(evt);
            }
        });
        getContentPane().add(jTRif1);
        jTRif1.setBounds(130, 190, 160, 20);

        jLabel13.setText("CI:");
        getContentPane().add(jLabel13);
        jLabel13.setBounds(30, 250, 120, 20);

        jBBuscar2.setText("Buscar");
        getContentPane().add(jBBuscar2);
        jBBuscar2.setBounds(290, 250, 80, 23);

        jTCi.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTCiKeyTyped(evt);
            }
        });
        getContentPane().add(jTCi);
        jTCi.setBounds(130, 250, 160, 20);

        jLabel14.setText("Teléfonos:");
        getContentPane().add(jLabel14);
        jLabel14.setBounds(30, 410, 110, 20);

        jTTelefono.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTTelefonoKeyTyped(evt);
            }
        });
        getContentPane().add(jTTelefono);
        jTTelefono.setBounds(130, 410, 240, 20);

        jLabel15.setText("@market.com");
        getContentPane().add(jLabel15);
        jLabel15.setBounds(300, 470, 80, 20);

        jTFax.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTFaxKeyTyped(evt);
            }
        });
        getContentPane().add(jTFax);
        jTFax.setBounds(130, 440, 240, 20);

        jBGenerarPasswordJuridico.setFont(new java.awt.Font("Tahoma", 1, 11));
        jBGenerarPasswordJuridico.setText("Generar Clave");
        jBGenerarPasswordJuridico.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBGenerarPasswordJuridicoActionPerformed(evt);
            }
        });
        getContentPane().add(jBGenerarPasswordJuridico);
        jBGenerarPasswordJuridico.setBounds(260, 500, 120, 23);

        jTGenerarCodigoJuridico.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTGenerarCodigoJuridicoActionPerformed(evt);
            }
        });
        getContentPane().add(jTGenerarCodigoJuridico);
        jTGenerarCodigoJuridico.setBounds(130, 470, 160, 20);

        jBActualizarRegistroJuridico.setText("Actualizar");
        jBActualizarRegistroJuridico.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBActualizarRegistroJuridicoActionPerformed(evt);
            }
        });
        getContentPane().add(jBActualizarRegistroJuridico);
        jBActualizarRegistroJuridico.setBounds(30, 590, 160, 60);

        jBEliminarClienteJuridico.setText("Eliminar");
        getContentPane().add(jBEliminarClienteJuridico);
        jBEliminarClienteJuridico.setBounds(200, 590, 170, 60);

        jSeparator1.setOrientation(javax.swing.SwingConstants.VERTICAL);
        getContentPane().add(jSeparator1);
        jSeparator1.setBounds(390, 120, 2, 550);

        jLabel16.setText("Profesión: ");
        getContentPane().add(jLabel16);
        jLabel16.setBounds(430, 220, 70, 20);

        jTProfesion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTProfesionActionPerformed(evt);
            }
        });
        jTProfesion.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTProfesionKeyTyped(evt);
            }
        });
        getContentPane().add(jTProfesion);
        jTProfesion.setBounds(490, 220, 200, 20);
        getContentPane().add(jSeparator2);
        jSeparator2.setBounds(430, 260, 380, 10);

        jLabel17.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel17.setText("Datos Laborales:");
        getContentPane().add(jLabel17);
        jLabel17.setBounds(430, 260, 100, 20);

        jLabel18.setText("Nombre Empresa:");
        getContentPane().add(jLabel18);
        jLabel18.setBounds(430, 290, 100, 14);

        jTNombreEmpresa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTNombreEmpresaActionPerformed(evt);
            }
        });
        jTNombreEmpresa.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTNombreEmpresaKeyTyped(evt);
            }
        });
        getContentPane().add(jTNombreEmpresa);
        jTNombreEmpresa.setBounds(520, 290, 170, 20);

        jLabel19.setText("Cargo");
        getContentPane().add(jLabel19);
        jLabel19.setBounds(430, 320, 100, 14);

        jTCargo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTCargoActionPerformed(evt);
            }
        });
        jTCargo.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTCargoKeyTyped(evt);
            }
        });
        getContentPane().add(jTCargo);
        jTCargo.setBounds(520, 320, 170, 20);

        jTDireccion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTDireccionActionPerformed(evt);
            }
        });
        getContentPane().add(jTDireccion);
        jTDireccion.setBounds(520, 350, 170, 20);

        jLabel20.setText("Dirección:");
        getContentPane().add(jLabel20);
        jLabel20.setBounds(430, 350, 100, 14);

        jLabel21.setText("Teléfonos:");
        getContentPane().add(jLabel21);
        jLabel21.setBounds(430, 380, 100, 14);

        jTTelefonos2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTTelefonos2ActionPerformed(evt);
            }
        });
        jTTelefonos2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTTelefonos2KeyTyped(evt);
            }
        });
        getContentPane().add(jTTelefonos2);
        jTTelefonos2.setBounds(520, 380, 170, 20);

        jTTelefonoReferencias.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTTelefonoReferenciasActionPerformed(evt);
            }
        });
        jTTelefonoReferencias.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTTelefonoReferenciasKeyTyped(evt);
            }
        });
        getContentPane().add(jTTelefonoReferencias);
        jTTelefonoReferencias.setBounds(520, 530, 170, 20);

        jLabel22.setText("E-mail");
        getContentPane().add(jLabel22);
        jLabel22.setBounds(430, 410, 100, 14);
        getContentPane().add(jSeparator3);
        jSeparator3.setBounds(420, 590, 380, 20);

        jBProcesarAfilicacion.setText("Procesar");
        getContentPane().add(jBProcesarAfilicacion);
        jBProcesarAfilicacion.setBounds(600, 620, 90, 30);

        jLabel23.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel23.setText("Referencias Personales:");
        getContentPane().add(jLabel23);
        jLabel23.setBounds(430, 440, 150, 20);

        jLabel24.setText("Apellidos:");
        getContentPane().add(jLabel24);
        jLabel24.setBounds(430, 500, 70, 14);

        jTEmail.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTEmailActionPerformed(evt);
            }
        });
        getContentPane().add(jTEmail);
        jTEmail.setBounds(520, 410, 170, 20);

        jTNombre.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTNombreActionPerformed(evt);
            }
        });
        jTNombre.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTNombreKeyTyped(evt);
            }
        });
        getContentPane().add(jTNombre);
        jTNombre.setBounds(520, 470, 170, 20);

        jLabel25.setText("Nombres:");
        getContentPane().add(jLabel25);
        jLabel25.setBounds(430, 470, 100, 14);

        jTApellido.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTApellidoActionPerformed(evt);
            }
        });
        jTApellido.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTApellidoKeyTyped(evt);
            }
        });
        getContentPane().add(jTApellido);
        jTApellido.setBounds(520, 500, 170, 20);

        jLabel26.setText("Sexo:");
        getContentPane().add(jLabel26);
        jLabel26.setBounds(430, 560, 80, 14);

        jLabel27.setText("Teléfonos:");
        getContentPane().add(jLabel27);
        jLabel27.setBounds(430, 530, 80, 14);

        jRMasculino.setText("M");
        jRMasculino.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRMasculinoActionPerformed(evt);
            }
        });
        getContentPane().add(jRMasculino);
        jRMasculino.setBounds(580, 560, 40, 23);

        jRFemenino.setText("F");
        jRFemenino.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRFemeninoActionPerformed(evt);
            }
        });
        getContentPane().add(jRFemenino);
        jRFemenino.setBounds(520, 560, 40, 23);
        getContentPane().add(jSeparator4);
        jSeparator4.setBounds(420, 440, 380, 20);

        jBRegresar.setText("Regresar");
        jBRegresar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBRegresarActionPerformed(evt);
            }
        });
        getContentPane().add(jBRegresar);
        jBRegresar.setBounds(280, 670, 100, 23);

        jBSalri.setText("Salir");
        jBSalri.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBSalriActionPerformed(evt);
            }
        });
        getContentPane().add(jBSalri);
        jBSalri.setBounds(400, 670, 100, 23);

        jLabel28.setText("TeléFax:");
        getContentPane().add(jLabel28);
        jLabel28.setBounds(30, 440, 110, 20);

        jLabel29.setText("Correo:");
        getContentPane().add(jLabel29);
        jLabel29.setBounds(30, 470, 110, 20);

        jTClave.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTClaveActionPerformed(evt);
            }
        });
        jTClave.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jTClaveKeyTyped(evt);
            }
        });
        getContentPane().add(jTClave);
        jTClave.setBounds(130, 500, 120, 20);

        jLabel30.setText("Clave:");
        getContentPane().add(jLabel30);
        jLabel30.setBounds(30, 500, 70, 20);

        jTextArea1.setColumns(20);
        jTextArea1.setRows(5);
        jScrollPane1.setViewportView(jTextArea1);

        getContentPane().add(jScrollPane1);
        jScrollPane1.setBounds(130, 290, 240, 100);

        pack();
    }// </editor-fold>//GEN-END:initComponents

	private void jBGenerarPasswordJuridicoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBGenerarPasswordJuridicoActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jBGenerarPasswordJuridicoActionPerformed

	private void jTGenerarCodigoJuridicoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTGenerarCodigoJuridicoActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTGenerarCodigoJuridicoActionPerformed

	private void jBActualizarRegistroJuridicoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBActualizarRegistroJuridicoActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jBActualizarRegistroJuridicoActionPerformed

	private void jTProfesionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTProfesionActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTProfesionActionPerformed

	private void jTNombreEmpresaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTNombreEmpresaActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTNombreEmpresaActionPerformed

	private void jTCargoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTCargoActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTCargoActionPerformed

	private void jTDireccionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTDireccionActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTDireccionActionPerformed

	private void jTTelefonos2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTTelefonos2ActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTTelefonos2ActionPerformed

	private void jTTelefonoReferenciasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTTelefonoReferenciasActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTTelefonoReferenciasActionPerformed

	private void jTEmailActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTEmailActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTEmailActionPerformed

	private void jTNombreActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTNombreActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTNombreActionPerformed

	private void jTApellidoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTApellidoActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTApellidoActionPerformed

	private void jRMasculinoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRMasculinoActionPerformed
		// TODO add your handling code here:
		if (this.jRMasculino.isSelected())
		{
			jRFemenino.setSelected(false);
		}
	}//GEN-LAST:event_jRMasculinoActionPerformed

	private void jRFemeninoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRFemeninoActionPerformed
		// TODO add your handling code here:
		if (this.jRFemenino.isSelected())
		{
			jRMasculino.setSelected(false);
		}
	}//GEN-LAST:event_jRFemeninoActionPerformed

	private void jBRegresarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBRegresarActionPerformed
		// TODO add your handling code here:

		Gerente irGerente=new Gerente(laInterfaz,empleado1);
		irGerente.setVisible(true);
		this.dispose();
	}//GEN-LAST:event_jBRegresarActionPerformed

	private void jBSalriActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBSalriActionPerformed
		// TODO add your handling code here:
		this.dispose();
	}//GEN-LAST:event_jBSalriActionPerformed

	private void jTClaveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTClaveActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTClaveActionPerformed

	private void jTEmpresaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTEmpresaActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTEmpresaActionPerformed

	private void jTRif1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTRif1KeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== false)
                 evt.consume();

		String x = Character.toString(c);
		if (x.equals("J") || (x.equals("j"))){
			this.jTRif1.setText("J-");
			evt.consume();
		}
	}//GEN-LAST:event_jTRif1KeyTyped

	private void jTEncargadoKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTEncargadoKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== true)
                 evt.consume();

	}//GEN-LAST:event_jTEncargadoKeyTyped

	private void jTCiKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTCiKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== false)
                 evt.consume();


	}//GEN-LAST:event_jTCiKeyTyped

	private void jTTelefonoKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTTelefonoKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== false)
                 evt.consume();

	}//GEN-LAST:event_jTTelefonoKeyTyped

	private void jTFaxKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTFaxKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== false)
                 evt.consume();



	}//GEN-LAST:event_jTFaxKeyTyped

	private void jTClaveKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTClaveKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== false)
                 evt.consume();

		
	}//GEN-LAST:event_jTClaveKeyTyped

	private void jTCIPasaporteRifKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTCIPasaporteRifKeyTyped
		// TODO add your handling code here:


	}//GEN-LAST:event_jTCIPasaporteRifKeyTyped

	private void jTProfesionKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTProfesionKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== true)
                 evt.consume();


	}//GEN-LAST:event_jTProfesionKeyTyped

	private void jTNombreEmpresaKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTNombreEmpresaKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)==true)
                 evt.consume();



	}//GEN-LAST:event_jTNombreEmpresaKeyTyped

	private void jTCargoKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTCargoKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== true)
                 evt.consume();


	}//GEN-LAST:event_jTCargoKeyTyped

	private void jTTelefonos2KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTTelefonos2KeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== false)
                 evt.consume();
	}//GEN-LAST:event_jTTelefonos2KeyTyped

	private void jTNombreKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTNombreKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== true)
                 evt.consume();


	}//GEN-LAST:event_jTNombreKeyTyped

	private void jTApellidoKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTApellidoKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== true)
                 evt.consume();


	}//GEN-LAST:event_jTApellidoKeyTyped

	private void jTTelefonoReferenciasKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTTelefonoReferenciasKeyTyped
		// TODO add your handling code here:
		char c = evt.getKeyChar();
		if (Character.isDigit(c)== false)
                 evt.consume();


	}//GEN-LAST:event_jTTelefonoReferenciasKeyTyped

	private void jTFechaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTFechaActionPerformed
		// TODO add your handling code here:
	}//GEN-LAST:event_jTFechaActionPerformed

    /**
    * @param args the command line arguments
    */

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jBActualizarRegistroJuridico;
    private javax.swing.JButton jBBuscar;
    private javax.swing.JButton jBBuscar1;
    private javax.swing.JButton jBBuscar2;
    private javax.swing.JButton jBEliminarClienteJuridico;
    private javax.swing.JButton jBGenerarPasswordJuridico;
    private javax.swing.JButton jBProcesarAfilicacion;
    private javax.swing.JButton jBRegresar;
    private javax.swing.JButton jBSalri;
    private javax.swing.JComboBox jCAutorizarTarjeta;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JRadioButton jRFemenino;
    private javax.swing.JRadioButton jRMasculino;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JSeparator jSeparator2;
    private javax.swing.JSeparator jSeparator3;
    private javax.swing.JSeparator jSeparator4;
    private javax.swing.JTextField jTApellido;
    private javax.swing.JTextField jTCIPasaporteRif;
    private javax.swing.JTextField jTCargo;
    private javax.swing.JTextField jTCi;
    private javax.swing.JTextField jTClave;
    private javax.swing.JTextField jTDireccion;
    private javax.swing.JTextField jTEmail;
    private javax.swing.JTextField jTEmpresa;
    private javax.swing.JTextField jTEncargado;
    private javax.swing.JTextField jTFax;
    private javax.swing.JTextField jTFecha;
    private javax.swing.JTextField jTGenerarCodigoJuridico;
    private javax.swing.JTextField jTNombre;
    private javax.swing.JTextField jTNombreEmpresa;
    private javax.swing.JTextField jTProfesion;
    private javax.swing.JTextField jTRif1;
    private javax.swing.JTextField jTTelefono;
    private javax.swing.JTextField jTTelefonoReferencias;
    private javax.swing.JTextField jTTelefonos2;
    private javax.swing.JTextArea jTextArea1;
    // End of variables declaration//GEN-END:variables

}
